# # home/adminx.py
# # xadmin全局配置
import xadmin
from xadmin import views
# # from AKapi.apps.user.models import User
#
#
# class GlobalSettings(object):
#     """xadmin的全局配置"""
#     site_title = "AK学城"  # 设置站点标题
#     site_footer = "AK学城有限公司"  # 设置站点的页脚
#     menu_style = "accordion"  # 设置菜单折叠
#
#
# # xadmin.site.register(views.CommAdminView, GlobalSettings)
# # xadmin.site.register(User)
from home import models

xadmin.site.register(models.Banner)